package org.gd.hellojaxb.privat24.commons;

import javax.xml.bind.annotation.*;

@XmlRootElement(name = "req")
@XmlAccessorType(XmlAccessType.FIELD)
public class CommonsRequest {

    @XmlAttribute(name = "CardPan")
    private String card;
    @XmlAttribute(name = "Sid")
    private String sessionId;

    public CommonsRequest() {
    }

    public CommonsRequest(String card, String sessionId) {
        this();
        this.card = card;
        this.sessionId = sessionId;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }
}
